package com.shortlink.admin.dto.req.shortlink;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;

/**
 * 短链接修改请求对象
 *
 * @author wp
 */
@Data
public class ShortLinkUpdateReqDTO {
    /**
     * ID
     */
    private Long id;
    /**
     * 分组标识
     */
    private Long gid;
    /**
     * 有效期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate validDate;
    /**
     * 描述
     */
    private String description;
}
